package com.example.myapplication.lol.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.example.myapplication.R;
import com.example.myapplication.lol.bean.NewsBean;
import com.example.myapplication.lol.bean.RecordBean;

import org.jetbrains.annotations.NotNull;

public class RecordAdapter extends BaseQuickAdapter<RecordBean, BaseViewHolder> {
    public RecordAdapter() {
        super(R.layout.item_record_info);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, RecordBean bean) {
        baseViewHolder.setText(R.id.record_name,"没名字的一天");
        baseViewHolder.setImageResource(R.id.record_head,R.drawable.iocn_1);
    }
}
